home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gedit.prerm < prev    next >
Encoding:
Text File  |  2009-04-14  |  708 b   |  31 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     remove|upgrade|deconfigure)
  7.         # unregister gedit as a gnome-text-editor in the alternatives system
  8.         update-alternatives --remove gnome-text-editor /usr/bin/gedit || true
  9.     ;;
  10.  
  11.     failed-upgrade)
  12.     ;;
  13.  
  14.     *)
  15.         echo "prerm called with unknown argument \`$1'" >&2
  16.         exit 0
  17.     ;;
  18. esac
  19.  
  20. # Automatically added by dh_gconf
  21. if [ "$1" = remove ] || [ "$1" = upgrade ]; then
  22.     gconf-schemas --unregister gedit-file-browser.schemas gedit.schemas 
  23. fi
  24. # End automatically added section
  25. # Automatically added by dh_pysupport
  26. if which update-python-modules >/dev/null 2>&1; then
  27.     update-python-modules -c  gedit.dirs
  28. fi
  29. # End automatically added section
  30.  
  31.